import configparser as cfg

def _load_cfg(files):
    param = cfg.ConfigParser()
    param.read(files)
    print('config readin')
    print('data path: ' + param['Database']['data_path'])
    # Database
    # param['Database']['location_pattern'] = param['Database']['location_pattern'].split(',')

    # Panel
    return param